home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / IMaster1_030 .adf / IShapes / Example.ISH < prev    next >
Text File  |  1992-06-04  |  1KB  |  49 lines

  1. ISHAPE
  2. ***************************************************************
  3. * This is an example Imagemaster shape file - Example.ISH
  4. *
  5. * Written by Black Belt Systems  - Technical Development
  6. *                                  1992
  7. * The First 6 characters of the file must be 'ISHAPE'
  8. *
  9. * Any line beginning with an asterisk will be
  10. * ignored by the reader - a comment.
  11. *
  12. * Blank lines are generally ignored, except between the
  13. * pairs of coordinates. Then a blank line causes a break in the
  14. * outline of the shape - equivalent to lifting the pen.
  15. *
  16. * Shape coordinates are read as decimal or integer numbers and are
  17. * of arbitrary size; that is, they are always scaled to fit the
  18. * selected area of the screen.
  19. *
  20. *        ^ Y
  21. *        |               The coordinate system is normal cartesian.
  22. *        |
  23. *        .---------> X
  24. *
  25. *
  26. * The shapes are NOT automatically closed, allowing maximum
  27. * flexibility.
  28. *
  29. * The first non-comment/non-blank  line is taken as the shape title.
  30. ********************************************************************
  31. Example Boxes
  32.  
  33. 0 0     * First box
  34. 1 0
  35. 1 1
  36. 0 1
  37. 0 0     * NOTE how the figure is closed back to the first point
  38.  
  39. 2 0     * Second box
  40. 3 0
  41. 3 1
  42. 2 1
  43. 2 0     * Note how the second part is closed back to its start
  44.  
  45. 2   1   * This poly-line is not closed by itself but is by the previous part
  46. 2.5 2
  47. 3   1
  48.